Channel Logo
conda-forge
public
A community led collection of recipes, build infrastructure and distributions for the conda package manager.
greenlet
v3.1.1
Lightweight in-process concurrent programming

The greenlet package is a spin-off of Stackless, a version of CPython that supports micro-threads called "tasklets". Tasklets run pseudo-concurrently (typically in a single or a few OS-level threads) and are synchronized with data exchanges on "channels".

A "greenlet", on the other hand, is a still more primitive notion of micro-thread with no implicit scheduling; coroutines, in other words. This is useful when you want to control exactly when your code runs. You can build custom scheduled micro-threads on top of greenlet; however, it seems that greenlets are useful on their own as a way to make advanced control flow structures. For example, we can recreate generators; the difference with Python's own generators is that our generators can call nested functions and the nested functions can yield values too. Additionally, you don't need a "yield" keyword. See the example in tests/test_generator.py.

Greenlets are provided as a C extension module for the regular unmodified interpreter.

Greenlets are lightweight coroutines for in-process concurrent programming.

Install

pixiaddgreenlet

Version

3.1.1

Platforms

linux-64
linux-aarch64
linux-ppc64le
osx-64
osx-arm64
win-64

Last published

3 months ago
Retrieving Pull Requests...
Package Variants
filenameversionbuild
CreatedsizeArchitecture
greenlet-3.1.1-py39h941272d_1.conda
3.1.1
py39h941272d_1 (1)
3 months ago
203.67 KB
osx-arm64
greenlet-3.1.1-py310h853098b_1.conda
3.1.1
py310h853098b_1 (1)
3 months ago
204.67 KB
osx-arm64
greenlet-3.1.1-py312haafddd8_1.conda
3.1.1
py312haafddd8_1 (1)
3 months ago
226.01 KB
osx-64
greenlet-3.1.1-py310he30c3ed_1.conda
3.1.1
py310he30c3ed_1 (1)
3 months ago
211.87 KB
linux-aarch64
greenlet-3.1.1-py311h155a34a_1.conda
3.1.1
py311h155a34a_1 (1)
3 months ago
230.86 KB
osx-arm64
greenlet-3.1.1-py39h7dbf29c_1.conda
3.1.1
py39h7dbf29c_1 (1)
3 months ago
210.43 KB
linux-aarch64
greenlet-3.1.1-py39hf88036b_1.conda
3.1.1
py39hf88036b_1 (1)
3 months ago
208.79 KB
linux-64
greenlet-3.1.1-py313h14b76d3_1.conda
3.1.1
py313h14b76d3_1 (1)
3 months ago
226.65 KB
osx-64
greenlet-3.1.1-py311hfdbb021_1.conda
3.1.1
py311hfdbb021_1 (1)
3 months ago
234.65 KB
linux-64
greenlet-3.1.1-py312h2ec8cdc_1.conda
3.1.1
py312h2ec8cdc_1 (1)
3 months ago
232.04 KB
linux-64
greenlet-3.1.1-py312h275cf98_1.conda
3.1.1
py312h275cf98_1 (1)
3 months ago
216.44 KB
win-64
greenlet-3.1.1-py39ha51f57c_1.conda
3.1.1
py39ha51f57c_1 (1)
3 months ago
192.43 KB
win-64
greenlet-3.1.1-py313h928ef07_1.conda
3.1.1
py313h928ef07_1 (1)
3 months ago
227.6 KB
osx-arm64
greenlet-3.1.1-py312h239da9a_1.conda
3.1.1
py312h239da9a_1 (1)
3 months ago
234.96 KB
linux-ppc64le
greenlet-3.1.1-py310hf71b8c6_1.conda
3.1.1
py310hf71b8c6_1 (1)
3 months ago
209.48 KB
linux-64
greenlet-3.1.1-py310h6954a95_1.conda
3.1.1
py310h6954a95_1 (1)
3 months ago
203.87 KB
osx-64
greenlet-3.1.1-py313h46c70d0_1.conda
3.1.1
py313h46c70d0_1 (1)
3 months ago
232.4 KB
linux-64
greenlet-3.1.1-py39hdf37715_1.conda
3.1.1
py39hdf37715_1 (1)
3 months ago
202.69 KB
osx-64
greenlet-3.1.1-py311hc356e98_1.conda
3.1.1
py311hc356e98_1 (1)
3 months ago
229.96 KB
osx-64
greenlet-3.1.1-py310h9e98ed7_1.conda
3.1.1
py310h9e98ed7_1 (1)
3 months ago
194.12 KB
win-64